package domain

import "time"

type HostTag struct {
	ID        string    `gorm:"primaryKey;type:varchar(255);"`
	Tag       string    `gorm:"not null;type:varchar(255);uniqueIndex:uix_host_tag_tag"`
	CreatedAt time.Time `gorm:"autoCreateTime"`
	UpdatedAt time.Time `gorm:"autoUpdateTime"`
}

func (*HostTag) TableName() string {
	return "t_host_tag"
}
